package com.jgp.security.controller;

import com.jgp.sys.controller.JGPBackController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 项目   jgp-cloud-parent
 * 作者   loufei
 * 时间   2019-11-03
 */
@Controller
@RequestMapping("/security/institution-ctl")
public class InstitutionController extends JGPBackController {
    @RequestMapping("institution-mgr")
    public String institutionMgr(){
        return page("institution-mgr");
    }
    
    
    @RequestMapping("edit-institution-item")
    public String editInstitutionItem(Long id,Long parentId, Model model) {
        re(model,"id",id);
        re(model,"parentId",parentId);
        return page("edit-institution-item");
    }
}
